#include <stdio.h>
#define N 3

void swap(double *a,double *b);

int main() {
	double a[N];
	int i,j;
	//input
	for(i=0;i<N;i++) scanf("%lf",a+i);
	
	//sort
	for(i=N-1;i>0;i--){
		for(j=0;j<i;j++) {
			if (a[j]>a[j+1]) swap(a+j,a+j+1);
		}
	}
	
	//output
	for(i=0;i<N;i++) printf("%lf\n",a[i]);
	return 0;
} 

void swap(double *a,double *b) {
	double cache;
	cache = *a;
	*a=*b;
	*b=cache;
}